/*
 * Locator.hpp
 *
 *  Created on: Dec 9, 2013
 *      Author: paste
 */

#ifndef LOCATOR_HPP_
#define LOCATOR_HPP_

namespace saxpp
{

  template<class CH, class TRAITS>
    class Locator
    {
    public:

      typedef CH char_type;
      typedef TRAITS char_traits;
      typedef std::basic_string<char_type, char_traits> string_type;

      Locator()
      {
      }

      virtual
      ~Locator()
      {
      }

      virtual int
      getColumnNumber() = 0;

      virtual int
      getLineNumber() = 0;

      virtual string_type
      getPublicId() = 0;

      virtual string_type
      getSystemId() = 0;
    };

}

#endif /* LOCATOR_HPP_ */
